package com.contractpage.ec.entity;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.contractpage.common.persistence.DataEntity;
import com.user.entity.emp.EmpVO;


/**
 * 
 * 
 **/
@SuppressWarnings("serial")
public class ExpressInformation extends DataEntity<ExpressInformation> {

	private String addressee;
	private String company;
	private String departmentname;
	private String tracknumber;
	private String printers;
	private String status;
	private Integer sends;
	private EmpVO signBy;
	private String type;
	private Date signDate;
	private Integer returnnumber;
	private String reason;
	private String tractaddress;
	private ContractInbound  contractInbound;
	private ExpressInbound expressInbound;
	private List<ContractInbound> inbounds = new ArrayList<ContractInbound>();
	private List<ContractDetail> details = new ArrayList<ContractDetail>();
	private List<String> statusList = new ArrayList<String>();		
	public List<String> getStatusList() {
		return statusList;
	}
	public void setStatusList(List<String> statusList) {
		this.statusList = statusList;
	}
	public Integer getReturnnumber() {
		return returnnumber;
	}
	public void setReturnnumber(Integer returnnumber) {
		this.returnnumber = returnnumber;
	}
	public String getDepartmentname() {
		return departmentname;
	}
	public void setDepartmentname(String departmentname) {
		this.departmentname = departmentname;
	}
	public List<ContractDetail> getDetails() {
		return details;
	}
	public void setDetails(List<ContractDetail> details) {
		this.details = details;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setAddressee(String addressee){
		this.addressee = addressee;
	}
	public String getAddressee(){
		return this.addressee;
	}
	public void setCompany(String company){
		this.company = company;
	}
	public String getCompany(){
		return this.company;
	}
	public void setTracknumber(String tracknumber){
		this.tracknumber = tracknumber;
	}
	public String getTracknumber(){
		return this.tracknumber;
	}
	public void setPrinters(String printers){
		this.printers = printers;
	}
	public String getPrinters(){
		return this.printers;
	}
	public void setStatus(String status){
		this.status = status;
	}
	public String getStatus(){
		return this.status;
	}
	public Integer getSends() {
		return sends;
	}
	public void setSends(Integer sends) {
		this.sends = sends;
	}
	public List<ContractInbound> getInbounds() {
		return inbounds;
	}
	public void setInbounds(List<ContractInbound> inbounds) {
		this.inbounds = inbounds;
	}
	public EmpVO getSignBy() {
		return signBy;
	}
	public void setSignBy(EmpVO signBy) {
		this.signBy = signBy;
	}
	public Date getSignDate() {
		if("0".equals(getStatus()))return null;
		return signDate;
	}
	public void setSignDate(Date signDate) {
		this.signDate = signDate;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public String getTractaddress() {
		return tractaddress;
	}
	public void setTractaddress(String tractaddress) {
		this.tractaddress = tractaddress;
	}
	public ContractInbound getContractInbound() {
		return contractInbound;
	}
	public void setContractInbound(ContractInbound contractInbound) {
		this.contractInbound = contractInbound;
	}
	public ExpressInbound getExpressInbound() {
		return expressInbound;
	}
	public void setExpressInbound(ExpressInbound expressInbound) {
		this.expressInbound = expressInbound;
	}
	
	
}
